{template "header.html"}
<header class="hui-header">
    <a id="hui-member" href="{MEMBER_URL}"><i class="fa fa-user-circle"></i></a>
    <h1>首页</h1>
    <a id="hui-search" href="javascript:dr_m_top_search();"><i class="fa fa-search"></i></a>
</header>
<div class="category-nav">
    <ul>
        <!--调用共享栏目-->
        <!--第一层：调用pid=0表示顶级-->
        {category module=share pid=0}
        <li class="{if IS_SHARE && $catid && in_array($catid, $t.catids)} active{/if}">
            <a href="{$t.url}" title="{$t.name}">{$t.name}</a>
        </li>
        {/category}
    </ul>
    <a class="category-more" href="javascript:dr_m_top_category();"><i class="fa fa-angle-down"></i></a>
</div>

<div class="hui-index-header-line"></div>

<div id="myCarousel" class="carousel slide" data-ride="carousel">
    <!-- 幻灯图片 -->
    <div class="carousel-inner">
        <div class="item active">
            <a href="http://www.xunruicms.com" target="_blank"><img src="{HOME_THEME_PATH}web/ad/1.jpg" style="width:100%;height:180px" /></a>
        </div>
        <div class="item ">
            <a href="http://www.xunruicms.com" target="_blank"><img src="{HOME_THEME_PATH}web/ad/2.jpg" style="width:100%;height:180px" /></a>
        </div>
    </div>
    <ol class="carousel-indicators">
        <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
        <li data-target="#myCarousel" data-slide-to="1" class="active"></li>
    </ol>
</div>

<div class="page-content">

    <div class="search-page search-content-1">

        <div class="search-container">
            <ul class="search-container">
                <!--分页显示列表数据-->
                {module module=news order=updatetime num=10}
                <li class="search-item clearfix">
                    <a title="{$t.title}" href="{$t.url}">
                        <img src="{dr_thumb($t.thumb, 100, 90)}" width="100" height="90" style="margin-top: 15px;">
                    </a>
                    <div class="search-content text-left">
                        <h4 class="search-title">
                            <a title="{$t.title}" href="{$t.url}">{dr_strcut($t.title, 20)}</a>
                        </h4>
                        <p class="search-desc">{dr_strcut($t.description, 44)}</p>
                    </div>
                    <div class="search-post-foot">
                        <a href="{dr_cat_value('news',$t.catid, 'url')}"><i class="fa fa-list"></i> {dr_cat_value('news',$t.catid, 'name')}</a>
                        <a href="{$t.url}"><i class="fa fa-calendar"></i> {$t.updatetime}</a>
                    </div>
                </li>
                {/module}
            </ul>

        </div>

    </div>

</div>

{template "footer.html"}